home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / file-tra / fsp-2.7 / fsp-2 / fsp / vms / makeclient.com < prev    next >
Encoding:
Text File  |  1993-05-16  |  2.4 KB  |  99 lines

  1. $! MAKECLIENT.COM
  2. $! compiler/linker for VMS-fsp V2.7.0 for those who don't have VAX/MMS
  3. $! 03-JAN-93 First version <S.A.Pechler@bdk.tue.nl>
  4. $! 28-JAN-93 Modified for use with Multinet <S.A.Pechler@bdk.tue.nl>
  5. $! 12-MAR-93 Fixed for Multinet-implementations which don't have a
  6. $!           [.multinet.include] directory. <S.A.Pechler@bdk.tue.nl>
  7. $! 07-MAY-93 Modified for FSP V2.7.0 <S.A.Pechler@bdk.tue.nl>
  8. $!
  9. $echo:== write sys$output
  10. $on CONTROL_Y then goto STOPPED
  11. $on CONTROL_C then goto STOPPED
  12. $on WARNING then goto WARNED
  13. $multinet = F$LENGTH(F$TRNLNM("MULTINET_ROOT","LNM$SYSTEM"))
  14. $IF ( multinet .EQ. 0 ) .OR. -
  15.     ( F$SEARCH("MULTINET_ROOT:[multinet.include]*.*") .EQS. "" )
  16. $THEN
  17. $ define /nolog SYS sys$library
  18. $ define /nolog NETINET sys$library
  19. $ELSE
  20. $ define /nolog SYS multinet_root:[multinet.include.sys]
  21. $ define /nolog NETINET multinet_root:[multinet.include.netinet]
  22. $ENDIF
  23. $!
  24. $set def [-]
  25. $def/nolog c$include [.include]
  26. $comp = "@[.vms]compile"
  27. $LN = "@[.vms]link"
  28. $!
  29. $echo "Compiling bsd routines.."
  30. $'comp' [.bsd_src]glob
  31. $'comp' [.bsd_src]cmp
  32. $'comp' [.bsd_src]ls
  33. $'comp' [.bsd_src]print
  34. $'comp' [.bsd_src]util
  35. $'comp' [.bsd_src]find
  36. $'comp' [.bsd_src]option
  37. $'comp' [.bsd_src]operator
  38. $'comp' [.bsd_src]function
  39. $'comp' [.bsd_src]fnmatch
  40. $!
  41. $echo "Compiling common routines.."
  42. $'comp' [.common]udp_io
  43. $!
  44. $echo "Compiling client routines.."
  45. $'comp' [.client]lib
  46. $'comp' [.client]util
  47. $'comp' [.client]lock
  48. $!
  49. $echo "Compiling vms emulation routines.."
  50. $'comp' [.vms_src]miscvms
  51. $'comp' [.vms_src]getopt
  52. $'comp' [.vms_src]convpath
  53. $'comp' [.vms_src]vmsmain
  54. $!
  55. $echo "Compiling client commands.."
  56. $'comp' [.clients]flscmd
  57. $'comp' [.clients]fcdcmd
  58. $'comp' [.clients]fgetcmd
  59. $'comp' [.clients]frmcmd
  60. $'comp' [.clients]frmdircmd
  61. $'comp' [.clients]fprocmd
  62. $'comp' [.clients]fmkdir
  63. $'comp' [.clients]fput
  64. $'comp' [.clients]fver /def=(VERSION_STR="""VMS-FSP Caltech version 2.7.0, May 8 1993""")
  65. $'comp' [.clients]fcatcmd
  66. $'comp' [.clients]fgrabcmd
  67. $'comp' [.clients]fducmd
  68. $'comp' [.clients]ffindcmd
  69. $'comp' [.clients]fhostcmd
  70. $!
  71. $echo "linking client commands..."
  72. $'LN' fls
  73. $'LN' fcd
  74. $'LN' fget
  75. $'LN' frm
  76. $'LN' frmdir
  77. $'LN' fpro
  78. $'LN' fmkdir
  79. $'LN' fput
  80. $'LN' fver
  81. $'LN' fcat
  82. $'LN' fgrab
  83. $'LN' fdu
  84. $'LN' ffind
  85. $'LN' fhost
  86. $!
  87. $goto endok
  88.  
  89. $STOPPED:
  90. $echo "Compiling/Linking cancelled by CTRL/Y."
  91. $exit 1
  92.  
  93. $WARNED:
  94. $exit 1
  95.  
  96. $endok:
  97. $echo "VMS-fsp V2.7.0 clients compiled and linked OK!"
  98. $exit
  99.